﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="NguoiDungForm.aspx.cs" Inherits="Web.Admin.NguoiDungForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="panel-heading">
        <h3 class="panel-title"><b>Thông tin cán bộ</b></h3>
    </div>
    <div class="panel-body">
         <div class="form-horizontal" role="form">
        <asp:HiddenField ID="hdfIDCANBO" runat="server" />
        <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">Họ và tên
            <asp:RequiredFieldValidator 
                ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtHoTen" 
                Display="Dynamic" ErrorMessage="Bạn nhập họ tên cán bộ!" ForeColor="Red">*</asp:RequiredFieldValidator>
        </label>
        <div class="col-sm-10">
            <asp:TextBox ID="txtHoTen" runat="server" CssClass="form-control" placeholder="Họ và tên"></asp:TextBox>
        </div>
        </div>
        <div class="form-group">
            <label for="datetime" class="col-sm-2 control-label">Ngày sinh</label>
            <div class="col-sm-10">
                <asp:TextBox ID="txtNgaySinh" runat="server"  CssClass="form-control" 
                    placeholder="Ngày sinh" TextMode="Date"></asp:TextBox>            
            </div> 
        </div>
        <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Phòng ban</label>
        <div class="col-sm-10">
            <asp:TextBox ID="txtPhongBan" runat="server" CssClass="form-control" placeholder="Phòng ban"></asp:TextBox>
        </div>
        </div>
       <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Chức vụ
            <asp:RequiredFieldValidator 
                ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlChucVu" 
                Display="Dynamic" InitialValue="- Vui lòng Chọn -" ErrorMessage="Bạn nhập chức vụ của cán bộ!" ForeColor="Red">*</asp:RequiredFieldValidator>
        </label>
        <div class="col-sm-10">
            <asp:DropDownList ID="ddlChucVu" runat="server" CssClass="form-control">
            </asp:DropDownList>
        </div>
        </div>
        <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Tên truy cập
            <asp:RequiredFieldValidator 
                ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTenTruyCap" 
                Display="Dynamic" ErrorMessage="Bạn nhập tên truy cập!" ForeColor="Red">*</asp:RequiredFieldValidator>
        </label>
        <div class="col-sm-10">
            <asp:TextBox ID="txtTenTruyCap" runat="server" CssClass="form-control" placeholder="Tên truy cập"></asp:TextBox>
        </div>
        </div>
        <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Mật khẩu</label>
        <div class="col-sm-10">
            <asp:TextBox ID="txtMatKhau" runat="server" CssClass="form-control" 
                placeholder="Mật khẩu" TextMode="Password" ></asp:TextBox>
        </div>
        </div>

        <div class="form-group">
        <div class="col-sm-10">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:CheckBox ID="ckbadmin" runat="server" Text="Admin" TextAlign="Left" 
                CssClass="active left" />
        </div>
        </div>
             

        <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <asp:LinkButton ID="btnSave" CssClass="btn btn-primary" runat="server" 
                onclick="btnSave_Click">Lưu</asp:LinkButton>
            <a href="NguoiDungManager.aspx" class="btn btn-default">
            Hủy bỏ
            </a>
        </div>
        </div>
        <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
        </div>
        </div>
    </div>
    </div>
</asp:Content>

